package com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 应用选项控件配置表
 * </p>
 *
 * @author XYHT
 * @since 2023-07-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("app_stepper_control_config")
@ApiModel(value = "AppStepperControlConfig对象", description = "应用选项控件配置表")
public class AppStepperControlConfigResp implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "控件唯一id(前端生成)")
    private String controlUniqueId;

    @ApiModelProperty(value = "类型")
    private String subType;

    @ApiModelProperty(value = "控件标题")
    private String name;

    @ApiModelProperty(value = "标题文本位置[1.top 2.center 3.right]")
    private String namePosition;

    @ApiModelProperty(value = "是否必填")
    private Boolean required;

    @ApiModelProperty(value = "步长")
    private Double step;

    @ApiModelProperty(value = "输入范围")
    private Double inputMax;

    @ApiModelProperty(value = "输入范围")
    private Double inputMin;

    @ApiModelProperty(value = "是否整数")
    private Boolean isInteger;

    @ApiModelProperty(value = "是否可输入")
    private Boolean isInput;

    @ApiModelProperty(value = "小数位数")
    private Integer scale;
}
